package top.tangyh.lamp.care.vo.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class QueryCareContentByPidAndTimeParam implements Serializable {
    /**
     * 病人健康号
     */
    @Schema(description ="病人健康号")
    @NotNull(message = "病人健康号不能为空")
    private String patientId;

    @Schema(description =  "病人住院号", required = false)
    private String hospitalNumber;
    /**
     * 时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Schema(description ="时间")
    @NotNull(message = "时间不能为空")
    private Date time;

    @Schema(description ="类型1护理记录 2病程记录")
    private Integer type;
 

}